<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0 ,maximum-scale=1.0, user-scalable=no">
<title>Dplayer</title>
<style type="text/css">body, html, .dplayer{padding: 0;margin: 0;width: 100%;height: 100%;text-align:center;background-color:#000;}</style>
<script type="text/javascript" src="https://bingdou.gitee.io/player/dplayer/flv.min.js"></script>
<link rel="stylesheet" href="https://bingdou.gitee.io/player/dplayer/Dplayer.min.css">
<script type="text/javascript" src="https://bingdou.gitee.io/player/dplayer/hls.min.js" charset="utf-8"></script>
<script type="text/javascript" src="https://bingdou.gitee.io/player/dplayer/Dplayer.min.js" charset="utf-8"></script>
<script type="text/javascript" src="https://bingdou.gitee.io/player/dplayer/jquery.min.js" charset="utf-8"></script>
</head>
<body oncontextmenu="return false" onselectstart="return false" style="overflow-y:hidden;">
<div id="dplayer" class="dplayer"></div>
<script>
var webdata = {
	set: function(key, val) {
		window.sessionStorage.setItem(key, val)
	},
	get: function(key) {
		return window.sessionStorage.getItem(key)
	},
	del: function(key) {
		window.sessionStorage.removeItem(key)
	},
	clear: function(key) {
		window.sessionStorage.clear()
	}
};
var vid = window.location.href.split("url=")[1];
var dp = new DPlayer({
	autoplay: true,
	loop: true,
	screenshot: true,
	hotkey: true,
	preload: 'auto',
	container: document.getElementById('dplayer'),
	video: {
		url: vid,
		pic: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-01451749-3f0f-4dba-b3d8-a8b2aa171e77/1e9b7edd-02f8-4fb0-95a3-3b7b4668ec5a.gif',
	},
	contextmenu:[{text:"冰豆云播",link:"https://bingdou.vip/"}]
});
dp.seek(webdata.get('pay' + vid));
setInterval(function() {
	webdata.set('pay' + vid, dp.video.currentTime)
}, 1000);
var _peerId = '',
	_peerNum = 0,
	_totalP2PDownloaded = 0,
	_totalP2PUploaded = 0;
dp.on('stats', function(stats) {
	_totalP2PDownloaded = stats.totalP2PDownloaded;
	_totalP2PUploaded = stats.totalP2PUploaded;
	updateStats()
});
dp.on('peerId', function(peerId) {
	_peerId = peerId
});
dp.on('peers', function(peers) {
	_peerNum = peers.length;
	updateStats()
});

</script>
<script>
		if($('.dplayer-setting').length > 0){
			$('.dplayer-setting').after("<div class='prism-time-display' style='float: left;'><a href='http://fuli.qianqi.net' target='blank' style='color:pink;font-weight:bold;'><img src='https://vkceyugu.cdn.bspapp.com/VKCEYUGU-01451749-3f0f-4dba-b3d8-a8b2aa171e77/546819a3-9c1c-4f67-bb7a-7881f2ab3c32.gif' style='margin-top: 3px;height:35px;'></a></div>");
		}
	</script>
<script>
        window.onload = function(){
            document.onkeydown = function (){
                var e = window.event || arguments[0];
                //F12
                if(e.keyCode == 123){
                    return false;
                //Ctrl+Shift+I
                }else if((e.ctrlKey) && (e.shiftKey) && (e.keyCode == 73)){
                    return false;
                //Shift+F10
                }else if((e.shiftKey) && (e.keyCode == 121)){
                    return false;
                //Ctrl+U
                }else if((e.ctrlKey) && (e.keyCode == 85)){
                    return false;
                }
            };
            document.oncontextmenu = function (){
                return false;
            }
        }
</script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?efd38d819241f83dd00c6fe4b37c866d";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>